import {Base} from "../../utils/base.js"

class Product extends Base{

  constructor(){
    super();
  }

  getProductInfo(id,callBack){
    var params = {
      url: 'product/' + id,
      sCallBack: function (data) {
        callBack && callBack(data.data);
      }
    }
    this.request(params);
  }

}
export{Product}